Skip to content

feat: add custom error class to show api error details#51

Merged
marvinhagemeister merged 2 commits intomainfrom
api-errors
Mar 2, 2026
Merged

feat: add custom error class to show api error details#51
marvinhagemeister merged 2 commits intomainfrom
api-errors

Conversation

@marvinhagemeister
Copy link
Collaborator

Previously, we only used httpx internal error raising, but the API returns crucial error messaging in the response. Also include the trace id for easier debugging:

deno_sandbox.errors.HTTPStatusError: App does not exist (status: 404, code: APP_NOT_FOUND, traceId: abc-123-def)

@marvinhagemeister marvinhagemeister merged commit 6ddedec into main Mar 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant